package com.pricl.frame.common.web.rest;

import org.springframework.http.HttpStatus;

/**
 * <ol>
 * <li></li>
 * <ol>
 * 
 * @author jackzhong
 * @since 2014年10月24日下午11:40:32
 */
@SuppressWarnings("serial")
public class RestException extends RuntimeException {

	public HttpStatus status = HttpStatus.INTERNAL_SERVER_ERROR;

	public RestException() {
	}

	public RestException(HttpStatus status) {
		this.status = status;
	}

	public RestException(String message) {
		super(message);
	}

	public RestException(HttpStatus status, String message) {
		super(message);
		this.status = status;
	}
}
